import _request from '@/utils/request';

const baseUrl = '';
const request = (url, ...arg) => _request(baseUrl + url, ...arg);

export default {
  login(data) {
    console.log(22,data)
    return request('/api/v1/common/login', data);
  },
  logout() {
    return request('/api/v1/common/logout','GET');
  },
  openId(data){
    return request('/hysq/wxLogin/getOpenId',data,'GET')
  }
};
